package com.company;

import hownet2.background.SegmentProxy;
import hownet2.concept.LiuConceptParser;
import hownet2.sememe.LiuqunSememeParser;

import java.io.IOException;

/**
 * Created by Administrator on 2016.8.22.
 */
public class Procedure {
    LiuConceptParser liuConceptParser;

    public Procedure() throws IOException {
        liuConceptParser=new LiuConceptParser();
    }

    public double getSimilarity(String word1,String word2) throws IOException {
        return liuConceptParser.getSimilarity(word1,word2);
    }
}
